<%--
  Created by IntelliJ IDEA.
  User: LQ
  Date: 2023/9/8
  Time: 14:12
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <jsp:include page="../Header.jsp"/>
    <title>消息管理</title>
</head>

<body class="gray-bg">
<input type="hidden" id="HiddataIds" value="">
<div class="wrapper wrapper-content animated fadeInRight">
    <!-- Panel Style -->
    <div class="ibox float-e-margins">
        <div class="ibox-content">
            <div class="btn-group " style="width: 100%" id="toolbar">
                <div class="col-sm-4" >
                    <div class="form-group form-search">
                        <label class="col-sm-3 control-label">消息类型：</label>
                        <div class="col-sm-8">
                            <select class="form-control" id="queryDataType" name="queryDataType">
                                <option value="">--全部--</option>
                                <option value="10">审批</option>
                                <option value="20">通知</option>
                            </select>
                        </div>
                    </div>
                </div>
                <div class="col-sm-4" >
                    <div class="form-group form-search">
                        <label class="col-sm-3 control-label">操作人：</label>
                        <div class="col-sm-8">
                            <select class="form-control" id="queryUserId" name="queryUserId">
                                <option value="">--全部--</option>
                            </select>
                        </div>
                    </div>
                </div>
                <div class="col-sm-4">
                    <button type="button" class="btn btn-info" id="bt-serach" onclick="table.queryData('msgs')">
                        <i class="fa fa-search"></i>&nbsp;查询
                    </button>
                    <button type="button" class="btn btn-danger" id="bt-del" disabled
                            onclick="com.deleteAllMessage('msgs')">
                        <i class="fa fa-trash"></i>&nbsp;批量删除
                    </button>
                    <button type="button" class="btn btn-danger"  onclick="com.clearSearch()">
                        <i class="fa fa-refresh"></i>&nbsp;重置
                    </button>
                </div>

                <div class="col-sm-4">
                    <div class=" form-group form-search">
                        <label class="col-sm-3 control-label">开始日期：</label>
                        <div class="col-sm-8">
                            <input type="text" class="form-control " id="searchStart" name="searchStart" value=""/>
                        </div>
                    </div>
                </div>
                <div class="col-sm-4">
                    <div class="form-group form-search">
                        <label class="col-sm-3 control-label">结束日期：</label>
                        <div class="col-sm-8">
                            <input type="text" class="form-control" id="searchEnd" name="searchEnd" value=""/>

                        </div>
                    </div>
                </div>

            </div>
            <table id="table-data"></table>
        </div>
    </div>
    <!-- End Panel Style -->
</div>


<%
    double ranNum = Math.random() * 1000;
%>

<script type="text/javascript" src="../script/tableJs.js?v=<%=ranNum%>"></script>
<%--日期选择控件--%>
<link href="../style/hplus/css/plugins/datapicker/datepicker3.css" rel="stylesheet">
<script src="../style/hplus/js/plugins/datapicker/bootstrap-datepicker.js"></script>
<script type="text/javascript">
    $(function () {
        table.loadData('#table-data', 'msgs');
        com.querySelectDatas('queryUserId', 'msgs');
        $("#searchStart,#searchEnd").datepicker({
            keyboardNavigation: !1,
            forceParse: !1,
            autoclose: !0
        });
    });
</script>
</body>
</html>

